package com.example.hotelsystem.vo.roomtype;

import com.example.hotelsystem.vo.comment.CommentViewVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;
import java.util.List;

@Data
public class RoomTypeViewVO {
    @ApiModelProperty(value = "房间类型id")
    private Long id;

    @ApiModelProperty(value = "房间类型")
    private String type;

    @ApiModelProperty(value = "房价价格")
    private Double price;

    @ApiModelProperty(value = "城市名")
    private String cityName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    private String star;

    private List<String> imageList;

    private List<String> viewList;

    @ApiModelProperty(value = "评论总数")
    private double commentCount;

    private List<CommentViewVO> commentList;
}
